/*    */ package com.create.prototype.shallow;
/*    */ 
/*    */ 
/*    */ public class PrototypeTest
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/*  7 */     Address address = new Address("青岛", "步行街");
/*  8 */     Person zs = new Person("张三", address);
/*  9 */     Person ls = zs.clone();
/*    */ 
/* 11 */     ls.setName("李四");
/* 12 */     System.out.println(zs);
/* 13 */     System.out.println(ls);
/*    */ 
/* 15 */     address.setCity("北京");
/* 16 */     System.out.println(zs);
/* 17 */     System.out.println(ls);
/*    */   }
/*    */ }

/* Location:           C:\Users\lenovo\Desktop\DesignMode.jar
 * Qualified Name:     com.create.prototype.shallow.PrototypeTest
 * JD-Core Version:    0.6.2
 */